import * as types from '../../mutation-types/complaintlist/index';

const state = {
	getAppealProcessList:[],
	shieldAppealprocessing:[],
	getAppealDetailInfoList:[],
    shieldAppealDetailInfo:[],
    getAppealDetailInfoListCOUNT:[],
    getIprhistory:[],
    getDownload:[],
    getAllAppealCount:[],
};


const mutations = {
	[types.GETAPPEAL_PROCESSLIST] (state, {getAppealProcessList}) {
        state.getAppealProcessList = getAppealProcessList;
    },
    [types.GETDOWNLOAD] (state, {getDownload}) {
        state.getDownload = getDownload;
    },
    [types.GETAPPEALDETAIL_INFOLIST_COUNT] (state, {getAppealDetailInfoListCOUNT}) {
        state.getAppealDetailInfoListCOUNT = getAppealDetailInfoListCOUNT;
    },
    [types.GETIPRHISTORY] (state, {getIprhistory}) {
        state.getIprhistory = getIprhistory;
    },
    [types.SHIELDAPPEAL_PROCESSING] (state, {shieldAppealprocessing}) {
        state.shieldAppealprocessing = shieldAppealprocessing;
    },
    [types.GETAPPEALDETAIL_INFOLIST] (state, {getAppealDetailInfoList}) {
        state.getAppealDetailInfoList = getAppealDetailInfoList;
    },
    [types.SHIELDAPPEAL_DETAIL] (state, {shieldAppealDetailInfo}) {
        state.shieldAppealDetailInfo = shieldAppealDetailInfo;
    },
    [types.GETALLAPPEALCOUNT] (state, {getAllAppealCount}) {
        state.getAllAppealCount = getAllAppealCount;
    },
}


export default {
  state,
  mutations
};